package com.xxin.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
    @author 小欣
    @version 1.0
    @since 1.8
*/

/**
 * 药方表
 */
public class Prescription implements Serializable {
	private Long id;
	
	/**
	 * 挂号单表主键ID
	 */
	private Long registryId;
	
	/**
	 * 病人表主键ID
	 */
	private Long patientId;
	
	/**
	 * 支付状态 1-->待支付；2-->支付成功；3-->支付失败；4-->超时未支付
	 */
	private Integer payStatus;
	
	/**
	 * 是否取药 1-->未取药；2-->已取药
	 */
	private Integer isFetchMedicine;
	
	/**
	 * 总金额(￥)
	 */
	private BigDecimal fee;
	
	/**
	 * 实际支付金额(￥)
	 */
	private BigDecimal payFee;
	
	/**
	 * 医保报销金额(￥)
	 */
	private BigDecimal medicareFee;
	
	/**
	 * 支付时间
	 */
	private LocalDateTime payTime;
	
	/**
	 * 创建时间
	 */
	private LocalDateTime createdTime;
	
	/**
	 * 修改时间
	 */
	private LocalDateTime updatedTime;
	
	private static final long serialVersionUID = 1L;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getRegistryId() {
		return registryId;
	}
	
	public void setRegistryId(Long registryId) {
		this.registryId = registryId;
	}
	
	public Long getPatientId() {
		return patientId;
	}
	
	public void setPatientId(Long patientId) {
		this.patientId = patientId;
	}
	
	public Integer getPayStatus() {
		return payStatus;
	}
	
	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}
	
	public Integer getIsFetchMedicine() {
		return isFetchMedicine;
	}
	
	public void setIsFetchMedicine(Integer isFetchMedicine) {
		this.isFetchMedicine = isFetchMedicine;
	}
	
	public BigDecimal getFee() {
		return fee;
	}
	
	public void setFee(BigDecimal fee) {
		this.fee = fee;
	}
	
	public BigDecimal getPayFee() {
		return payFee;
	}
	
	public void setPayFee(BigDecimal payFee) {
		this.payFee = payFee;
	}
	
	public BigDecimal getMedicareFee() {
		return medicareFee;
	}
	
	public void setMedicareFee(BigDecimal medicareFee) {
		this.medicareFee = medicareFee;
	}
	
	public LocalDateTime getPayTime() {
		return payTime;
	}
	
	public void setPayTime(LocalDateTime payTime) {
		this.payTime = payTime;
	}
	
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
	
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}
	
	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}
	
	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
}